package com.winter.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.winter.model.IonlineAppointment;

public interface IonlineAppointmentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(IonlineAppointment record);

    int insertSelective(IonlineAppointment record);

    IonlineAppointment selectByPrimaryKey(Long id);
    
    IonlineAppointment selectByFinancingKey(@Param("id")Long id,@Param("userNo")String userNo);
    
    IonlineAppointment selectByStandardKey(@Param("id")Long id,@Param("userNo")String userNo);

    int updateByPrimaryKeySelective(IonlineAppointment record);

    int updateByPrimaryKey(IonlineAppointment record);

    /*
     * 我的预约资产信息
     *
     */
    List<IonlineAppointment> getIonlineList(@Param("userNo") String userNo);

    List<IonlineAppointment> queryData(@Param("proId") Long proId, @Param("type") String type, @Param("userNo") String userNo);
}